package com.qianfeng.rencai.enums;

/**
 * Created by wenka on 2022/3/30 22:19
 *
 * @author wenkaixin
 * @version 1.0
 * @since 1.0
 */

public enum  LoginErrorCode {
    VALIDATE_CODE_ISNULL(510,"验证码不可为空"),
    VALIDATE_CODE_ERROR(511,"验证码不正确");

    private int code;
    private String msg;

    LoginErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
